/*
 * Title:        CloudScheduler Toolkit
 * Description:  a Toolkit for Modeling and Simulation of Job Scheduling and Resource Provisioning in Cloud System
 * Licence:      GPL - http://www.gnu.org/copyleft/gpl.html
 * Author:       Fuhui Wu
 *
 * Copyright (c) 2013-2014, The National University of Defense Technology, China
 */

package org.nudt.jCloud.simulation;

public class SIMTag {
	
	public static final int BASE = 0;
	public static final int REGISTER_RESOURCE = BASE + 1;
	public static final int REGISTER_USERBROKER = BASE +2;
	public static final int REGISTER_USERBROKER_ACK = BASE + 3;
	public static final int UPDATE_OR_SUBMIT_JOB = BASE + 4;
	public static final int TO_STEAL_RESOURCE = BASE + 5;
	public static final int PREEMPT_STOLEN_SLOT = BASE + 6;
	public static final int PREEMPT_SLOT = BASE+7;
	
	public static final int XJOB_SUBMIT = BASE+15;
	public static final int XJOB_SCHEDULE = BASE+16;
	public static final int XJOB_UPDATE = BASE+17;
	public static final int XJOB_FINISH = BASE+18;
	public static final int TASK_SUBMIT = BASE+19;
	public static final int TASK_SCHEDULE = BASE+20;
	public static final int TASK_FINISH = BASE+21;
	public static final int SCALE_RESOURCE = BASE+22;
	public static final int SCALE_RESOURCE_ACK = BASE + 24;	
	public static final int RESOURCE_COMMIT = BASE+25;
	public static final int RESOURCE_COMMIT_ACK = BASE+26;
	
	public static final int RM_MODE_R = BASE+36;
	public static final int RM_MODE_S = BASE+37;
	
	public static final double THINK_TIME_OF_JOB = 0;
	public static final double THINK_TIME_OF_TASK = 0;

}
